package com.simpletaskapp.activity;

import android.os.Bundle;

import com.simpletaskapp.R;
import com.simpletaskapp.domain.Task;

public class CreateTask extends AbstractTaskActivity {

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);

		if (task == null)
			task = new Task();
	}
	
	@Override
	protected String getDisplayTitle() {
		return getString(R.string.newTask);
	}

	@Override
	protected int getMenuResource() {
		return R.menu.task_create_menu;
	}    	
}
